<template>
  <div class="detailswiper">
    <swiper  class="swiper-item">
      <swiper-item v-for="item in topImages" :key="item.index">
        <img :src="item" alt="" />
      </swiper-item>
    </swiper>
  </div>
</template>

<script>
import Swiper from "../../../components/common/swiper/Swiper.vue";
import SwiperItem from "../../../components/common/swiper/SwiperItem.vue";
export default {
  components: { Swiper, SwiperItem },
  props: {
    topImages: {
      type: Array,
      default: []
    }
  }
};
</script>

<style scoped>
.swiper-item{
    height: 300px;
    overflow: hidden;
}
</style>
